package cn.iocoder.yudao.module.question.controller.admin.question.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 试题信息 Excel VO
 *
 * @author 芋道源码
 */
@Data
public class QuestionExcelVO {

    @ExcelProperty("试题id")
    private Long id;

    @ExcelProperty("所属题库")
    private Long bankId;

    @ExcelProperty("父ID")
    private Long parentQuestionId;

    @ExcelProperty("试题内容")
    private String questionContent;

    @ExcelProperty(value = "试题类型", converter = DictConvert.class)
    @DictFormat("question_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long questionType;

    @ExcelProperty(value = "难度等级", converter = DictConvert.class)
    @DictFormat("question_level") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long questionLevel;

    @ExcelProperty("整题解析")
    private String standardAnalysis;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
